﻿@model MockSchoolManagement.Core.ErrorViewModel
@{
    ViewData["Title"] = "Error";
}
@if (ViewBag.ErrorTitle == null)
{
    <h3>程序请求时发生了一个内部错误，我们会反馈给团队，我们正在努力解决这个问题。</h3>
    <h5>请通过abc@qq.com联系我们</h5>
}
else
{
    <h1 class="text-danger">@ViewBag.ErrorTitle</h1>
    <h6 class="text-danger">@ViewBag.ErrorMessage</h6>
}


@*<hr/>
    <div class="alert alert-danger">
        <h5>异常路径：</h5>
        <hr/>
        <p>@ViewBag.ExceptionPath</p>
    </div>

    <div class="alert alert-danger">
        <h5>异常信息：</h5>
        <hr/>
        <p>@ViewBag.ExceptionMessage</p>
    </div>

    <div class="alert alert-danger">
        <h5>异常堆栈跟踪：</h5>
        <hr/>
        <p>@ViewBag.ExceptionStackTrace</p>
    </div>*@